New extract-queries
command + other improvements
#115
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The new
extract-queries
command extracts all queries from the server log and writes it into a TSV file that can be processed using theexample-queries
command. If the server log contains lines matchingAlive check with message "..."
, the message is used as base name for the query descriptions. For each query with that base nameQuery #<index>
is appended to the description.In this context, the following small improvements for the
example-queries
command (items 1, 2, 3, 4) and thesettings
command (item 5) were made:--download_or_count
is now the more naturaldownload
(was:count
).--accept
now has two more choicesapplication/qlever-results+json
andAUTO
, where the later picks the accept header automatically from the query type--add-query-type-to-description
Beginnig ... end
always-mulitply-unions